<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test Drop</title>
    <style>
        #GameDiv{
            width: 400px;
            height: 800px;
            background-color: sandybrown;
        }
    </style>
</head>
<body>
<div id="GameDiv"></div>
<script>
    window.onload = function () {
        let gameEl = document.getElementById('GameDiv');

        gameEl.ondragenter = function (e) {
            console.log('drag enter');
            e.stopPropagation();
            e.preventDefault();
        };
        gameEl.ondragover = function (e) {
            console.log('ondragover......');
            e.stopPropagation();
            e.preventDefault();
        };
        gameEl.ondrop = function (e) {
            e.stopPropagation();
            e.preventDefault();
            console.log('ondrop called!');
        }
    }
</script>
</body>
</html>
